<?php
include_once '../others/refreshSessionTime.php';
if(isset($_POST['groupID'])){
	
	session_start();
	require_once '../../../serverResources/includes/db/ConnDBUser.php';
	require_once '../../../serverResources/includes/db/ConnDBAdmin.php';
	require_once '../../../serverResources/includes/classes/GroupElements.php';
	
	$gpElem=new GroupElements('', '', '', '', '');
	
	$success=$gpElem->deleteGroup($_POST['groupID']);
	unset($gpElem);
	echo $success;

}else{
	echo 0;
}




